EXPECTED = {'RFC1157-SNMP': {'extensibility-implied': False,
                  'imports': {'RFC1155-SMI': ['IpAddress',
                                              'NetworkAddress',
                                              'ObjectName',
                                              'ObjectSyntax',
                                              'TimeTicks']},
                  'object-classes': {},
                  'object-sets': {},
                  'types': {'GetNextRequest-PDU': {'tag': {'kind': 'IMPLICIT',
                                                           'number': 1},
                                                   'type': 'PDU'},
                            'GetRequest-PDU': {'tag': {'kind': 'IMPLICIT',
                                                       'number': 0},
                                               'type': 'PDU'},
                            'GetResponse-PDU': {'tag': {'kind': 'IMPLICIT',
                                                        'number': 2},
                                                'type': 'PDU'},
                            'Message': {'members': [{'name': 'version',
                                                     'named-numbers': {'version-1': 0},
                                                     'type': 'INTEGER'},
                                                    {'name': 'community',
                                                     'type': 'OCTET STRING'},
                                                    {'name': 'data',
                                                     'type': 'PDUs'}],
                                        'type': 'SEQUENCE'},
                            'PDU': {'members': [{'name': 'request-id',
                                                 'type': 'INTEGER'},
                                                {'name': 'error-status',
                                                 'named-numbers': {'badValue': 3,
                                                                   'genErr': 5,
                                                                   'noError': 0,
                                                                   'noSuchName': 2,
                                                                   'readOnly': 4,
                                                                   'tooBig': 1},
                                                 'type': 'INTEGER'},
                                                {'name': 'error-index',
                                                 'type': 'INTEGER'},
                                                {'name': 'variable-bindings',
                                                 'type': 'VarBindList'}],
                                    'type': 'SEQUENCE'},
                            'PDUs': {'members': [{'name': 'get-request',
                                                  'type': 'GetRequest-PDU'},
                                                 {'name': 'get-next-request',
                                                  'type': 'GetNextRequest-PDU'},
                                                 {'name': 'get-response',
                                                  'type': 'GetResponse-PDU'},
                                                 {'name': 'set-request',
                                                  'type': 'SetRequest-PDU'},
                                                 {'name': 'trap',
                                                  'type': 'Trap-PDU'}],
                                     'type': 'CHOICE'},
                            'SetRequest-PDU': {'tag': {'kind': 'IMPLICIT',
                                                       'number': 3},
                                               'type': 'PDU'},
                            'Trap-PDU': {'members': [{'name': 'enterprise',
                                                      'type': 'OBJECT '
                                                              'IDENTIFIER'},
                                                     {'name': 'agent-addr',
                                                      'type': 'NetworkAddress'},
                                                     {'name': 'generic-trap',
                                                      'named-numbers': {'authenticationFailure': 4,
                                                                        'coldStart': 0,
                                                                        'egpNeighborLoss': 5,
                                                                        'enterpriseSpecific': 6,
                                                                        'linkDown': 2,
                                                                        'linkUp': 3,
                                                                        'warmStart': 1},
                                                      'type': 'INTEGER'},
                                                     {'name': 'specific-trap',
                                                      'type': 'INTEGER'},
                                                     {'name': 'time-stamp',
                                                      'type': 'TimeTicks'},
                                                     {'name': 'variable-bindings',
                                                      'type': 'VarBindList'}],
                                         'tag': {'kind': 'IMPLICIT',
                                                 'number': 4},
                                         'type': 'SEQUENCE'},
                            'VarBind': {'members': [{'name': 'name',
                                                     'type': 'ObjectName'},
                                                    {'name': 'value',
                                                     'type': 'ObjectSyntax'}],
                                        'type': 'SEQUENCE'},
                            'VarBindList': {'element': {'type': 'VarBind'},
                                            'type': 'SEQUENCE OF'}},
                  'values': {}}}